A few micro-optimizations#6
A few micro-optimizations#6calebzulawski merged 1 commit intocalebzulawski:masterfrom TethysSvensson:master
Conversation
|
Thanks for this, both I think you're right about |
|
After sleeping on it I realized the reasoning behind one of those wrappers. After my commit, it is not possible to write this code: I'll make a new PR that re-introduces one of the wrappers without causing worse generated output. |
|
@TethysSvensson I think the It uses an |
This commit optimizes the generated code in two ways:
target_features enabled, they could not simply be inlined inside each other.Additionally I am not sure whether
SeqCstsemantics will actually result in any improved performance -- I thinkRelaxedsemantics should be enough?